package com.example.demo.mapper;


import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户表(User)数据库操作接口
 *
 * @author makejava
 * @since 2024-11-12 09:18:28
 */
@Mapper
public interface UserMapper {
    // 方法将在XML中实现
    User getUserByPhone(String phone);

    User getUser(String username);
}
